runOnStartup(async runtime => {
    window.addEventListener("minerTick", (e) => {
        Miner_GameHintDurabilitZoreEvent.hintEvnt()
    })
    window.addEventListener("minerInit", (e) => {
        var arrow1 = runtime.objects.arrow1.getFirstInstance()
        arrow1.isVisible = false
        Miner_GameHintDurabilitZoreEvent.isHINT = false
    })
});
globalThis.Miner_GameHintDurabilitZoreEvent = {
    hintEvnt: function () {
        if (Miner_GameHintDurabilitZoreEvent.isHINT == false) {
            var HookCount = runtime.globalVars.HookCount
            if (HookCount <= 0) {
                HintBox_HintBoxShow.show(Game_GameStringBranch.Hint.DurzeroHint1[Game_GameStringBranch.Languge])
                Miner_GameHintDurabilitZoreEvent.isHINT = true
                var arrow1 = runtime.objects.arrow1.getFirstInstance()
                if (runtime.globalVars.CurDay === 1) {
                    arrow1.isVisible = true
                }
                window.addEventListener("Click_E", function gotolayuot() {
                    Miner_Event_MinerGotoNextDay.hookCarBackAnimation()
                    //runtime.goToLayout("sReadyPage")
                    window.removeEventListener("Click_E", gotolayuot)
                }, false)
            }
        }
    }
}
export default Miner_GameHintDurabilitZoreEvent